package com.example.ioc.v2;

//ioC-控制反转
public class Main {
    public static void main(String[] args) {
        Tire tire=new Tire(20,"black");
        Bottom bottom=new Bottom(tire);
        Framwork framwork=new Framwork(bottom);
        Car car=new Car(framwork);
        car.run();
    }
}
